<?php
include ("include.php");
require("../library/php/mime.php");
require("../library/php/email.php");	

$danhba_cat = new class_danhba_cat();

$catid = $arr_tintuc_id[$langid]["home"];

//Layout
$layout_file = $arr_layout["home"];
include("html_layout.php");


//list cat
$home_cat = $danhba_cat->lietke_item(3);
$str_htm = ereg_replace("@home_cat@", $home_cat, $str_htm);


//dropdown cat
$cat_list = $danhba_cat->lietke();
$str_htm = ereg_replace("@cat_list@", $cat_list, $str_htm);

//Header Loading - CSS, Meta, Javascript ...
include("html_header.php");

//Body Loading - Date-Time, ...
include("html_body.php");	

//Menu include
include("html_menu.php");

//Modules include
include("modules.php");


print $str_htm;
?>